package item10;

public class Subroutine extends SubParent{
	public Subroutine() {
		System.out.println("dao yong zi lei Subroutine gou zao fan fa");
	}
	public static void main(String[] args){
		Subroutine s = new Subroutine();
		s.getClass();
	}
}
class Parent{
	public Parent() {
		System.out.println("dao yong fu lei Parent gou zao fan fa");
	}
}
class SubParent extends Parent{
	public SubParent() {
		System.out.println("dao yong zi lei SubParent gou zao fan fa");
	}
}
